package com.lagou.sqlsession;

import java.util.List;

public interface SqlSession {
    public <E> List<E> selectList(String statementId, Object... param) throws Exception;

    <E> E selectOne(String statementId, Object... param) throws Exception;

    Boolean update(String statementId, Object... param) throws Exception;

    <T> T getMapper(Class<?> mapperClass);
}
